<template>
  <div class="userTackStyle">
    <div class="tops">
      <p>这些回复亮了</p>
      <p>最早回复</p>
    </div>
    <van-list
      v-model="loading"
      :finished="finished"
      finished-text="没有更多了"
    >
      <div class="onesStyle" v-for="item in 10" :key="item">
        <div class="topStyleInfo">
          <div class="left">
            <img src="https://dss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2654543765,808264130&fm=26&gp=0.jpg">
          </div>
          <div class="right">
            <div class="top">
              <div class="userInfo">我是测试1</div>
              <p>3小时前</p>
            </div>
            <div class="center">
              怎么办嘛，爱情甜又酸
            </div>
            <div class="bottom">
              <van-icon name="chat-o" badge="9" />
              <van-icon name="chat-o" badge="9" />
            </div>
          </div>
        </div>
        <div class="bottomTalkStyle">
          <div class="onesTalkStyle" v-for="tackl in 4" :key="tackl">
            <span>张三丰 :</span>
            年轻人好好的睡觉吧，今天天其特别的号哈哈啊哈哈哈假假按揭啊加急件啊
          </div>
        </div>
      </div>
    </van-list>
  </div>
</template>

<script>
  export default {
    name: "details",
    data() {
      return {

      };
    },
    props:['product'],
  }
</script>

<style scoped>
  .userTackStyle{
    background-color: #fff;
  }
  .tops{
    display: flex;
    justify-content: space-between;
  }
  .onesStyle{
    margin-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
  }
  .onesStyle:last-child{
    border: none;
  }
  .onesStyle .topStyleInfo{
    display: flex;
  }
  .onesStyle img{
    margin-right: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid skyblue;
  }
  .onesStyle .right{
    flex: 1;
  }
  .onesStyle .right .top p{
    margin: 0;
    padding: 0;
    font-size: 14px;
  }
  .onesStyle .right .center{
    margin: 15px 0;
    font-size: 16px;
    font-weight: bold;
  }
  .onesStyle .right .bottom{
    margin: 20px 0 10px;
    text-align: right;
  }
  .onesStyle .right .bottom .van-icon{
    margin-right: 20px;
  }
  .bottomTalkStyle{
    background-color: #e7e7e7;
    padding: 10px;
  }
  .bottomTalkStyle span{
    color: blue;
    font-weight: bold;
  }
  .bottomTalkStyle .onesTalkStyle {
    font-size: 15px;
    color: #666;
    margin-bottom: 10px;
  }
  .bottomTalkStyle .onesTalkStyle:last-child{
    margin-bottom: 0;
  }
</style>
